<?php
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'list';
$sceneid = $_RQ['sceneid'];
if ($_RQ['OP']='addpv'){
		$posturl = $_AR['siteroot'].'/custom/index.php?plugin=jy_xiu&action=stat&a=statget&type=10&sceneid=$sceneid';
		$fh = file_get_contents($posturl);
        $returnInfo = $return['sceneinfo']=$this->insert('scene');
}
	
if ($_RQ['OP']='usepage'){
         //$returnInfo = D("Scene")->usepage();
}
if ($_RQ['OP']='view'){
		$_scene = M('scene');
		$isPreview = I('get.preview',0);
		//$where['uid']  = $datainfo['uid'];
		if(is_numeric(I('get.id',0))){
			$where2['sceneid_bigint']  = I('get.id',0);
		}
		else
		{
			$where2['scenecode_varchar']  = I('get.id',0);
		}
		$where2['delete_int']  = 0;
		$_scene_list2=$_scene->where($where2)->select();
		
		$password=I('get.password','');
		if($_scene_list2[0]['accesscode']&&$password){
			if($password!=$_scene_list2[0]['accesscode']){
				exit('{"success":false,"code":1004,"msg":"服务器异常","obj":null,"map":null,"list":null}');
			}
		}
		
		if(C('SYS_LINK')){
		  $_scene_list2[0]=get_scene_status($_scene_list2[0]);
		}
		
		/*if($_scene_list2[0]['showstatus_int']!=1)  //关闭
		{
			if($_scene_list2[0]['userid_int']!=intval(session('userid')))
			{
				$where3['sceneid_bigint']  = 267070;
				$_scene_list2=$_scene->where($where3)->select();
			}  
		}  */

		$advuserinfo['userid_int'] = $_scene_list2[0]['userid_int'];
		$advUser = M('users');
		$returnadvInfo=$advUser->where($advuserinfo)->select();
		
		$_scenepage = I('get.fromht',0)?  M('scenepagesys'): M('scenepage');
		$where['sceneid_bigint']  = $_scene_list2[0]['sceneid_bigint'];
		$where['userid_int']  = $_scene_list2[0]['userid_int'];
		$_scene_list=$_scenepage->where($where)->order('pagecurrentnum_int asc')->select();


		$_scene_list2[0]['lastpageid']=$_scene_list2[0]['lastpageid']>0? intval($_scene_list2[0]['lastpageid']):0;
		$accessCode=$_scene_list2[0]['accesscode']?'"accessCode": "'.$_scene_list2[0]['accesscode'].'",':'"accessCode": null,' ;
		
		//var_dump($_scene_list2);exit;     
		//$this->display();
		$jsonstr = '{"success": true,"code": 200,"msg": "操作成功","obj": {"id": '.$_scene_list2[0]['sceneid_bigint'].',"name": '.json_encode($_scene_list2[0]['scenename_varchar']).',"createUser": "'.$_scene_list2[0]['userid_int'].'","type": '.$_scene_list2[0]['scenetype_int'].',"pageMode": '.$_scene_list2[0]['movietype_int'].',
		"image": {"imgSrc": "'.$_scene_list2[0]['thumbnail_varchar'].'",
		"lastPageId":'.$_scene_list2[0]['lastpageid'].',
		"hideEqAd":'.$_scene_list2[0]['hideeqad'];
		if($isPreview){
			//$this->unlogin();
			$jsonstr = $jsonstr.',"isAdvancedUser": true';
		}else{
			$jsonstr = $jsonstr.',"isAdvancedUser": '.$_scene_list2[0]['isadvanceduser'];
		}	
		$bgAudio_str='null';
		if($_scene_list2[0]["musicurl_varchar"]!='')
		{
			$bgAudio_str='{\"url\":\"'.$_scene_list2[0]['musicurl_varchar'].'\",\"type\":\"'.$_scene_list2[0]['musictype_int'].'\"}';
			$jsonstr = $jsonstr.',"bgAudio": {"url": "'.$_scene_list2[0]["musicurl_varchar"].'","type": "'.$_scene_list2[0]["musictype_int"].'"}';
		}else{
			$jsonstr =$jsonstr .',"bgAudio":null';
			}
		$property= str_replace('"','\"',$_scene_list2[0]['property']);
			$jsonstr_property='"property":"'.$property.'",';
		// if(C('JS_VISION')>=3.4&& $_scene_list2[0]['property']){
			// $property= str_replace('"','\"',$_scene_list2[0]['property']);
			// $jsonstr_property='"property":"'.$property.'",';
		// }else{
			// $jsonstr_property='"property" :"{\"isAdvancedUser\":'.$_scene_list2[0]['isadvanceduser'].',\"lastPageId\":'.$_scene_list2[0]['lastpageid'].',\"hideEqAd\":'.$_scene_list2[0]['hideeqad'].'}",';	
		// }
		 $timeout=$_scene_list2[0]['vi_timeout'] ? $_scene_list2[0]['vi_timeout'] :'""';
        $jsonStr_timeout=C('SYS_LINK')? '"timeout": '.$timeout.',"timeout_url":"'.$_scene_list2[0]['timeout_url'].'",' :'';
	   
		$_scene_list2[0]['hitcount_int']=$_scene_list2[0]['hitcount_int']?intval($_scene_list2[0]['hitcount_int']):0;
		$jsonstr = $jsonstr.'	
        },';
		$jsonstr = $jsonstr.'         
		'.$jsonstr_property.'
		'.$jsonStr_timeout.'
		'.$accessCode.'
		"cover":"'.$_scene_list2[0]['thumbnail_varchar'].'",
		"bgAudio" :"'.$bgAudio_str.'",     
        "isTpl": 0,
        "isPromotion": 0,
        "status": 1,
        "openLimit": 0,
        "startDate": null,
        "endDate": null,
        "updateTime": 1426045746000,
		"createTime": 1426572693000,
		"publishTime":1426572693000,
        "applyTemplate": 0,
        "applyPromotion": 0,
        "sourceId": null,
        "code": "'.$_scene_list2[0]['scenecode_varchar'].'",
        "description": "'.str_replace(array("\r","\n"),array("\\r","\\n"),$_scene_list2[0]['desc_varchar']).'",
        "sort": 0,
        "pageCount": 0,
        "dataCount": 0,
        "showCount": '.$_scene_list2[0]['hitcount_int'].',
		"eqcode" :"'.$_scene_list2[0]['eqcode'].'",
        "userLoginName": null,
        "userName": null
    },
    "map": null,
    "list": [';
		$jsonstrtemp = '';
		foreach($_scene_list as $vo)
        {
			//		$datas['elements'][$key]['content']=strpos($val['content'],'eqs/link?id=')!==false ? str_replace('eqs/link?id=','?c=scene&a=link&id='):	$val['content'];	
			if(strpos($vo["content_text"],'eqs\/link?id')!==false){
				$vo["content_text"]=str_replace('eqs\/link?id','?c=scene&a=link&id',$vo["content_text"]);
				
			}
			$vo["properties_text"]=$vo["properties_text"]?$vo["properties_text"]:'null';
		    
			$jsonstrtemp = $jsonstrtemp .'{"id": '.$vo["pageid_bigint"].',"sceneId": '.$vo["sceneid_bigint"].',"num": '.$vo["pagecurrentnum_int"].',
				"name": null,"properties":'.$vo["properties_text"].',"elements": '.$vo["content_text"].',"scene": null},';
		}
		// 
		if(C('IS_COUM_AD')){
			
			$jsonstrtemp=get_scene_ad($jsonstrtemp,$_scene_list2,$isPreview); 
		} 
		
		$jsonstr = $jsonstr.rtrim($jsonstrtemp,',').'';
		$jsonstr = $jsonstr.']}';
		echo $jsonstr;
}
    public function getcount(){
		echo json_encode(array("success" => true,
								"code"=> 200,
								"msg" => "success",
								"obj"=> null,
								"map"=> null,
								"list"=> null
							   )
						);


}
if ($_RQ['OP']='promotion'){
		$jsonstr='{"success":true,"code":200,"msg":"操作成功","obj":null,"map":null,"list":[';
		$_scene = M('scene');
		$scenetype = intval(I('get.type',0));
		if($scenetype > 0)
		{
			$where['scenetype_int']  = $scenetype<10 ?'10'.$scenetype : $scenetype;
		}
		//$where['userid_int']  = array('gt',0);
		$where['is_tpl']  =0;

		$where['delete_int']  = 0;
		$where['applyPromotion']  = 2;  // applyPromotion=1  2015-7-24
		
		//$where['is_public']  = 1;
		$pageshowsize = I('get.pageSize',6);
		if($pageshowsize>30){
			$pageshowsize = 30;
		}
		if(strpos( $_SERVER['SERVER_NAME'],'gordonfz.net')!==false){
			$pageshowsize = 12;
		}
		if(C('HOME_PAGESIZE')){
			$pageshowsize=intval(C('HOME_PAGESIZE'));
		}
		
		$_scene_list=$_scene->where($where)->order('rank desc,sceneid_bigint desc')->page(I('get.pageNo',1),$pageshowsize)->select();
		 
		 
		 
		$jsonstrtemp = '';
		foreach($_scene_list as $vo){
			$jsonstrtemp = $jsonstrtemp .'{
            "id": '.$vo["sceneid_bigint"].',
            "name": '.json_encode($vo["scenename_varchar"]).',
            "createUser": "'.$vo['userid_int'].'",
            "createTime": 1423645519000,
            "type": '.$vo["scenetype_int"].',
            "pageMode": '.$vo["movietype_int"].',
			"cover":"'.$vo['thumbnail_varchar'].'",
            "image": {
                "bgAudio": {
                    "url": "'.$vo["musicurl_varchar"].'",
                    "type": "'.$vo["musictype_int"].'"
                },
                "imgSrc": "'.$vo["thumbnail_varchar"].'",
                "hideEqAd": false,
                "isAdvancedUser": false
            },
            "isTpl": 0,
            "isPromotion": 0,
            "status": '.$vo['showstatus_int'].',
            "createTime": "'.$vo['createtime_time'].'",                  
            "code": "'.$vo["scenecode_varchar"].'",           
            "sort": 0,
            "pageCount": 0,
            "dataCount": 0,
            "showCount": '.$vo["hitcount_int"].',
            "userLoginName": null,
            "userName": null
        },';
		}
		
		$jsonstr = $jsonstr.rtrim($jsonstrtemp,',').']}';
		echo $jsonstr;
}

if ($_RQ['OP']='myTplSave'){
		
		$jsonStr='{"success":true,"code":200,"msg":"操作成功","obj":3138268,"map":null,"list":null}';
		echo $jsonstr;
}
	
if ($_RQ['OP']='link'){
		$url=$_GET['url'];
		if($url){	
			$mulu=C('APP2');
			$app2= $mulu? '/'.$mulu:'';
            $posturl = 'http://'.$_SERVER ['HTTP_HOST'].$app2.'/?c=stat&a=statget&type=1&sceneid='.I('get.id',0);
	
			//$fh = file_get_contents($posturl);
			header('Location: ' . $url);	
		}
}
if ($_RQ['OP']='dial'){
		$tel = I('post.num',0);
		$id = I('post.id',0);
		
		$mulu=C('APP2');
		$app2= $mulu? '/'.$mulu:'';
       $posturl = 'http://'.$_SERVER ['HTTP_HOST'].$app2.'/?c=stat&a=statget&type=2&sceneid='.I('get.id',0);
		
		$fh = file_get_contents($posturl); 
		$jsonstr='{"success":true,"code":200,"msg":"操作成功","obj":null,"map":null,"list":null}';
		echo $jsonstr; 
}

if ($_RQ['OP']='getlastpagebg'){
		$_PageBg = M('upfilesys');
		$id= I('get.id',0);
		
		if($id<100){			
			$_scenepage = M('scenepage');
			//$where['uid']  = $datainfo['uid'];
			$where['pageid_bigint']  =I('get.id',0);	 
			$_scene_list=$_scenepage->where($where)->find(); 
			$elements=$_scene_list['content_text'];
			
			$yourweb=str_replace('http://','',C('lastpagelink'));
			$elements=str_replace(array('http:\/\/s1.eqxiu.com\/eqs\/link?','http%3A%2F%2Fwww.eqxiu.com','http%3A%2F%2Feqxiu.com','\u543e\u7231'),
				array('?c=scene&a=link&id=','http%3A%2F%2F'.$yourweb,'http%3A%2F%2F'.$yourweb,C('lastpagetext')),$elements); 
			
			$_PageBgList[0]["fileid_bigint"]=$where['pageid_bigint'];
		}else{
			$where['fileid_bigint']  = I('get.id',0);
			$_PageBgList=$_PageBg->where($where)->select(); 
			if(empty($_PageBgList)){
				$where['fileid_bigint'] = 604985;
				$_PageBgList=$_PageBg->where($where)->select(); 
			}
			//width: 158px; height: 245px; margin-top: -43.5px; margin-left: 0px;
			//$webname=	C('site_name') ? C('lastpagetext'):'进云秀2';
			//$weblink=	C('site_url') ? C('lastpagelink'):'进云秀3';
			$webname=	C('lastpagetext');
			$weblink= C('lastpagelink');
			$elements='[{"id":183335727,"pageId":26143278,"sceneId":1301,"type":"3","css":{"zIndex":"1"},"properties":{"imgSrc":"'.$_PageBgList[0]["filesrc_varchar"].'"}},{"id":183335728,"pageId":26143278,"sceneId":1301,"type":"4","css":{"height":"16","zIndex":"2","width":"280","left":"21px","top":"122px"},"properties":{"height":"100px","imgStyle":{"width":280,"height":73,"marginTop":"-24px","marginLeft":"0px"},"width":"100px","src":"line.png"}},{"id":183335732,"pageId":26143278,"sceneId":1301,"type":"4","css":{"zIndex":"3","height":"257","width":"257","left":"84px","top":"170px"},"properties":{"height":"100px","imgStyle":{"width":158,"height":158,"marginTop":"-43.5px","marginLeft":"0px"},"width":"100px","src":"shadow.jpg"}},{"id":183335731,"pageId":26143278,"sceneId":1301,"type":"4","css":{"borderRadius":"0px","borderStyle":"solid","zIndex":"4","borderColor":"rgba(0,0,0,1)","paddingTop":"0px","height":"158","backgroundColor":"","color":"","boxShadow":"0px 0px 0px rgba(200,200,200,0.6)","borderWidth":"0px","width":"158","left":"84px","paddingBottom":"0px","top":"170px"},"properties":{"height":"100px","imgStyle":{"width":158,"height":245,"marginTop":"-43.5px","marginLeft":"0px"},"width":"100px","src":"lastbg.jpg"}},{"content":"<div style=\"text-align: center;\"><br></div>","css":{"top":"425px","left":"72px","zIndex":"5","backgroundColor":"rgba(0,0,0,0.5)","opacity":1,"color":"#676767","borderWidth":0,"borderStyle":"solid","borderColor":"rgba(0,0,0,1)","paddingBottom":0,"paddingTop":0,"lineHeight":1,"borderRadius":"22px","transform":"rotateZ(0deg)","borderRadiusPerc":100,"boxShadow":"0px 0px 0px rgba(0,0,0,0.5)","boxShadowDirection":0,"boxShadowSize":0,"width":177,"height":25,"borderBottomRightRadius":"22px","borderBottomLeftRadius":"22px","borderTopRightRadius":"22px","borderTopLeftRadius":"22px"},"id":26,"num":1,"pageId":26143278,"properties":{"width":177,"height":25,"anim":{"type":0,"direction":0,"duration":1,"delay":0,"countNum":1}},"sceneId":1301,"type":2},{"id":183335729,"pageId":26143278,"sceneId":1301,"type":"2","content":"<div style=\"text-align: center;\"><span style=\"font-size: small; line-height: 1; background-color: initial;\"><a href=\"'.$weblink.'\" target=\"_blank\"><font color=\"#ffffff\">创建一个场景→</font><font color=\"#fdea02\">'.$webname.'</font></a></span></div>","css":{"borderRadius":"0px","borderStyle":"solid","height":"42","paddingTop":"0px","borderColor":"rgba(222,220,227,1)","zIndex":"6","boxShadow":"0px 0px 0px rgba(200,200,200,0.6)","color":"","backgroundColor":"rgba(255,255,255,0)","borderWidth":"0px","width":"320","left":"0px","paddingBottom":"20px","top":"413px"},"properties":{"anim":{"type":0,"direction":3,"duration":1,"delay":0.6,"countNum":1}}}]';
		}		
		$jsonStr = '{"success":true,"code":200,"msg":"操作成功","obj":{"id":'.$_PageBgList[0]["fileid_bigint"].',"sceneId":1301,"num":4,"name":null,"properties":{"thumbSrc":"'.$_PageBgList[0]["filesrc_varchar"].'"},"elements":'.$elements.',"scene":null,"price":null,"isPaid":null},"map":null,"list":null}';
		
		//$jsonStr = '{"success":true,"code":200,"msg":"操作成功","obj":null,"map":null,"list":null}';
		echo $jsonStr; 		
	}
	
if ($_RQ['OP']='tagPageList'){		
        //$where['userid_int']  = 0;
        $m_upfile = M('tag');       
        $where['pageid_bigint'] = I('get.id',0);
        $tagname = M('scenepage')->where($where)->getField('pagename_varchar');
		$tagids_int_str = M('scenepage')->where($where)->getField('tagid_int');
		//if(is_array($tagname) && count($tagname)>0){}
		
		//echo $tagname."----".$tagids_int_str;die();
		if($tagname && $tagids_int_str){
			$where2['pagename_varchar'] = $tagname;
			//$tagid_list = M('scenepage')->where($where2)->getField('tagid_int',true); 
			//print_r($tagid_list);die();
			//$tempstr=join(',',$tagid_list);
			$tagids_int_str  = M('scenepage')->where($where)->getField('tagid_int');
			//echo D()->getlastsql();
			//$tempstr=join(',',$tagid_list);
			//$tempstr=$tempstr ? $tempstr.','.$tagids_int_str : $tagids_int_str;
			$tempstr=$tagids_int_str;
			//exit($tempstr);
       
			$m_upfilelist=$m_upfile->where('tagid_int in ('.$tempstr.")")->select();
			 //$m_upfilelist=$m_upfile->where("FIND_IN_SET(tagid_int,$tempstr)>0")->select();
			 
			//var_dump($m_upfilelist);
			//die();
			
			$jsonstr = '{"success":true,"code":200,"msg":"success","obj":null,"map":null,"list":[';
			$jsonstrtemp = '';
			foreach($m_upfilelist as $vo)
			{
				$jsonstrtemp = $jsonstrtemp .'{"id":'.$vo["tagid_int"].',"name":'.json_encode($vo["name_varchar"]).',"createUser":"0","createTime":1423122412000,"bizType":'.$vo["biztype_int"].'},';
			}
			$jsonstr = $jsonstr.rtrim($jsonstrtemp,',').'';
			$jsonstr = $jsonstr.']}';
			
			echo $jsonstr; 
		}elseif($tagids_int_str){
			
			$m_upfilelist=$m_upfile->where('tagid_int in ('.$tagids_int_str.")")->select();
			 //$m_upfilelist=$m_upfile->where("FIND_IN_SET(tagid_int,$tempstr)>0")->select();
			 
			//var_dump($m_upfilelist);
			//die();
			
			$jsonstr = '{"success":true,"code":200,"msg":"success","obj":null,"map":null,"list":[';
			$jsonstrtemp = '';
			foreach($m_upfilelist as $vo)
			{
				$jsonstrtemp = $jsonstrtemp .'{"id":'.$vo["tagid_int"].',"name":'.json_encode($vo["name_varchar"]).',"createUser":"0","createTime":1423122412000,"bizType":'.$vo["biztype_int"].'},';
			}
			$jsonstr = $jsonstr.rtrim($jsonstrtemp,',').'';
			$jsonstr = $jsonstr.']}';
			
			echo $jsonstr; 
		}else{
			$jsonstr = '{"success":true,"code":200,"msg":"success","obj":null,"map":null,"list":[]}';
			echo $jsonstr;
		}
	}
	
if ($_RQ['OP']='getPageTag'){
		echo '{"success":true,"code":200,"msg":"操作成功","obj":null,"map":null,"list":[{"id":1,"name":"图文","bizType":1101,"type":1},{"id":2,"name":"图集","bizType":1101,"type":1},{"id":4,"name":"文字","bizType":1101,"type":1},{"id":5,"name":"图表","bizType":1101,"type":1},{"id":6,"name":"报名表","bizType":1102,"type":1},{"id":8,"name":"留言","bizType":1102,"type":1},{"id":9,"name":"联系","bizType":1102,"type":1},{"id":11,"name":"清新","bizType":1103,"type":1},{"id":12,"name":"蓝色","bizType":1103,"type":1},{"id":13,"name":"中国风","bizType":1103,"type":1},{"id":14,"name":"简洁","bizType":1103,"type":1},{"id":15,"name":"黑白","bizType":1103,"type":1},{"id":16,"name":"红色","bizType":1103,"type":1},{"id":17,"name":"怀旧","bizType":1103,"type":1},{"id":18,"name":"现代","bizType":1103,"type":1},{"id":19,"name":"扁平化","bizType":1103,"type":1},{"id":120,"name":"黄色","bizType":1103,"type":1},{"id":121,"name":"绿色","bizType":1103,"type":1},{"id":122,"name":"紫色","bizType":1103,"type":1},{"id":123,"name":"黑色","bizType":1103,"type":1},{"id":124,"name":"白色","bizType":1103,"type":1},{"id":125,"name":"其他","bizType":1103,"type":1},{"id":260,"name":"English","bizType":1103,"type":1},{"id":262,"name":"Android","bizType":1103,"type":1}]}';
	}
if ($_RQ['OP']='tagPageSet'){
        //$where['userid_int']  = 0;
        //$ids = I('get.ids',null);
        $where['pageid_bigint'] = I('get.pageId',null);
        $datainfo['tagid_int'] = I('get.ids',null);
        //echo $where['pageid_bigint'];die();
        M("scenepage")->data($datainfo)->where($where)->save();
		//echo D()->getLastSql();
		
		$jsonstr = '{"success":true,"code":200,"msg":"success","obj":null,"map":null,"list":[]}';
		echo $jsonstr; 
    }

if ($_RQ['OP']='countervalues'){
		 $scene_id=I('get.sceneId');
	   $fieldIds=I('get.fieldIds');
	   	$where['scene_id']=$scene_id;
		$where['field_id']=$fieldIds;
	   $count= M("counter")->where($where)->getField("count");
		echo '{"success":true,"code":200,"msg":"操作成功","obj":null,"map":{"'.$fieldIds.'":"'.$count.'"},"list":null}';
	} 
if ($_RQ['OP']='counterset'){
	   $fieldIds=I('post.fieldId');
		$scene_id=I('post.sceneId');
		$where['scene_id']=$scene_id;
		$where['field_id']=$fieldIds;
		$info= M("counter")->where($where)->find(); 
		if($info){
			 M("counter")->where($where)->setInc("count");			 
		}else{
			$where["count"]=1;
			$where["ctime"]=time();
			 M("counter")->add( $where );			
		}
			echo '{"success":true,"code":200,"msg":"操作成功","obj":null,"map":{"'.$fieldIds.'":"1"},"list":null}';
	} 
	
if ($_RQ['OP']='pv'){
		$scene_id=I('get.sceneId');
		$where['sceneid_bigint']=$scene_id;
		$info= M("Scene")->where($where)->getField("hitcount_int"); 
		echo $info;
	} 
	
if ($_RQ['OP']='getMyGroup'){
		$tag = M('tag');
		$where['userid_int'] = I('get.param');
		$where['type_int'] = 3;
		$info= $tag->where($where)->order('tagid_int desc')->select();
		$jsonstr =  '{"success":true,"code":200,"msg":"操作成功","obj":null,"map":null,"list":[';
		$jsonstrtemp = '';
		foreach($info as $vo)
        {
			$jsonstrtemp = $jsonstrtemp .'{"id":"'.$vo["tagid_int"].'","groupName":"'.$vo["name_varchar"].'","userID":'.$vo["userid_int"].'},';
		}
		$jsonstr = $jsonstr.rtrim($jsonstrtemp,',').'';
		$jsonstr = $jsonstr.']}';
		echo $jsonstr;
	}
	
if ($_RQ['OP']='createGroup'){
		$where['userid_int'] = session('userid');
		$where['name_varchar'] = I('post.name');
		$where['type_int'] = 3;
		$result = M("tag")->add( $where);	
		echo '{"success":true,"code":200,"msg":"操作成功","obj":'.$result.',"map":null,"list":null}';
	}
if ($_RQ['OP']='companyPromotion'){
		echo '{"success":true,"code":200,"msg":"操作成功","obj":null,"map":null,"list":null}';
	}
	
if ($_RQ['OP']='lable'){
		echo '{"success":true,"code":200,"msg":"操作成功","obj":{"guid":"20160120110430","comp":"20160120195624"},"map":null,"list":null}';
}